package ltd.hxya.novel.common.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class SearchParam {
    private Boolean workDirection;
    private Integer wordCountMax;
    private Integer wordCountMin;
    private Boolean isEnd;
    private Integer categoryId;
    private String queryWord;
    private Date updateTimeMin;
    private String sort;
    @NotNull
    @ApiModelProperty(value = "0:相关 ， 1：最新，2：最热")
    private Integer queryType;
    private Integer page=1;
    private Integer size=30;

}
